package com.smfx.yxt.model;

import java.io.Serializable;
import java.util.List;

public class TeacherOrganize implements Serializable {
	
	private static final long serialVersionUID = -1525660373488697776L;

	private Integer departId;
	
	private String depart;
	
	private Integer positionId;
	
	private String position;
	
	private Integer teacherId;
	
	private String teacherName;
	
	private boolean hasChild;
	
	private List<TeacherOrganize> subList;
	
	public Integer getDepartId() {
		return departId;
	}

	public void setDepartId(Integer departId) {
		this.departId = departId;
	}

	public String getDepart() {
		return depart;
	}

	public void setDepart(String depart) {
		this.depart = depart;
	}

	public Integer getPositionId() {
		return positionId;
	}

	public void setPositionId(Integer positionId) {
		this.positionId = positionId;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public boolean isHasChild() {
		return hasChild;
	}

	public void setHasChild(boolean hasChild) {
		this.hasChild = hasChild;
	}

	public List<TeacherOrganize> getSubList() {
		return subList;
	}

	public void setSubList(List<TeacherOrganize> subList) {
		this.subList = subList;
	}

	public int getTeacherCount() {
		if(subList == null) return 0;
		return subList.size();
	}
}
